package com.xlabs.client.shared;

import com.google.gwt.requestfactory.shared.EntityProxy;
import com.google.gwt.requestfactory.shared.ProxyFor;
import com.xlabs.server.DO.Question;

@ProxyFor(Question.class)
public interface QuestionProxy extends EntityProxy
{
	/**
	 * Gets the proxy queston id.
	 * @return
	 */
	String getId();
	
	/**
	 * Getter for {@link Question}{@link #getStartTime()}
	 * @return
	 */
	Integer getStartTime();
	
	/**
	 * Abstract method for {@link Question}{@link #getStartTimeIndex()}
	 * @return
	 */
	String getStartTimeIndex();
	
	/**
	 * interface for {@link Question}{@link #getQuestionText()}
	 * @return
	 */
	String getQuestionText();
	
	/**
	 * interface for {@link Question}{@link #getCreatedByName()}
	 * @return
	 */
	String getCreatedByName();

	/**
	 * interface for 
	 * @return
	 */
	Boolean getAnswered();
	
	/**
	 * Inteeface for {@link Question}{@link #setAnswerId(String)}
	 * @param id
	 */
	public void setAnswerId(String id);
	
	/**
	 * Interface for {@link Question}{@link #getAnswerId()}
	 * @return
	 */
	public String getAnswerId();
}
